package design_pattern.FactoryModel.Product;

/**
 * @Description
 * @Author yangshunjie
 * @Date 2021/9/20
 */
public class ProductA extends Product{
    public String num;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "ProductA{" +
                "name='" + name + '\'' +
                ", cod='" + cod + '\'' +
                ", num='" + num + '\'' +
                '}';
    }
}
